package com.stagecommon.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;


import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author yxl
 * @since 2021-11-09
 */
@Data
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer userId;

    private String username;

    private String password;

    private Byte status;

    private Byte level;

    private Byte score;

    private String name;

    private String email;

    private String phoneNum;

    private Byte gender;

    @TableField(exist = false)
    private String code;

    private String userImg;

    private String introduction;

    private Integer demandNum;

    @TableField(exist = false)
    private String oldUsername;

    private Integer workNum;

    @TableField(exist = false)
    private List<Integer> roleIdList;

}
